#include <stdio.h>
#include <limits.h>

int main(void)
{
    printf("\nchar range: %d <-> %d\n", CHAR_MIN, CHAR_MAX);
    printf("unsigned char range: %u <-> %u\n\n", 0, UCHAR_MAX);

    printf("short range: %hd <-> %hd\n", SHRT_MIN, SHRT_MAX);
    printf("unsigned short range: %hu <-> %hu\n\n", 0, USHRT_MAX);

    printf("int range: %d <-> %d\n", INT_MIN, INT_MAX);
    printf("unsigned int range: %u <-> %u\n\n", 0, UINT_MAX);

    printf("long range: %ld <-> %ld\n", LONG_MIN, LONG_MAX);
    printf("unsigned long range: %lu <-> %lu\n\n", 0, ULONG_MAX);

    printf("long long range: %lld <-> %lld\n", LLONG_MIN, LLONG_MAX);
    printf("unsigned long long range: %llu <-> %llu\n\n", 0, ULLONG_MAX);

    return 0;
}